
#include <ArduinoJson.h>

#define ALINK_BODY_FORMAT "{\"id\":\"123\",\"version123\":\"1.0\",\"method\":\"thing.event.property.post\",\"params\":%s}"
#define body "{\"id\":\"123\",\"name\":\"thh\"}"

void setup() {
  // put your setup code here, to run once:
//  String doc = "{\"id\":\"111\",\"name\":\"zbb\"}";
  DynamicJsonDocument doc(1024);
  deserializeJson(doc, body);
  JsonObject obj = doc.as<JsonObject>();

  Serial.begin(9600);

  // put your main code here, to run repeatedly:
}

void loop() {


 

}
